package com.open.capacity.service;

import com.github.pagehelper.PageInfo;
import com.open.capacity.model.BusinessFinance;
import com.open.capacity.model.PageModel;
import com.open.capacity.model.FinanceVO;

import java.util.List;

public interface BusinessFinanceService {

    void add(BusinessFinance businessFinance);

    void delete(Long id);

    List<BusinessFinance> findById(Long id);

    PageInfo<BusinessFinance> findAll(PageModel pageModel,BusinessFinance businessFinance);

    List<FinanceVO> daily(Long busiid);

    List<FinanceVO> monthly(Long busiid);

    PageInfo<BusinessFinance> dailyList(PageModel pageModel,BusinessFinance businessFinance);

    PageInfo<BusinessFinance> monthlyList(PageModel pageModel,BusinessFinance businessFinance);
}
